home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / swagd_f.zip / FAQ.SWG / 0045_SEC15-BORLAND.pas < prev   
Pascal/Delphi Source File  |  1995-02-28  |  3KB  |  80 lines

  1. SECTION 15 - Debugger / Tools
  2.  
  3. This document contains information that is most often provided
  4. to users of this section.  There is a listing of common
  5. Technical Information Documents that can be downloaded from the
  6. libraries, and a listing of the five most frequently asked
  7. questions and their answers.
  8.                                     
  9. TI1037   Configuring/Using Turbo Debugger for Windows
  10. TI1262   Installation notes regarding Turbo Debugger for Windows
  11. TI1171   Borland problem report form
  12.  
  13. Q.   "Should I save my Resource Workshop projects as a .RES file
  14.      or a .RC file?"
  15.  
  16. A.   Since .RC files are ASCII text, it is easier to debug them
  17.      and share them with other programmers, so it is usually best
  18.      to save your project as a .RC file and have it automatically
  19.      create a .RES file for you.  To do this, first create a .RC
  20.      project.  Then go to File|Preferences, and select the check
  21.      box next to "Multi-Save .RES file." Now, every time you save
  22.      your project, a .RES file will be created for you.
  23.  
  24. Q.   "What  are WinSpector and WinSight?"
  25.  
  26. A.   WinSpector is a utility that allows you to perform a post-
  27.      mortem inspection of your windows applications that have
  28.      crashed as a result of a General Protection Fault or
  29.      Unrecoverable Application Error.  WinSpector can show you:
  30.  
  31.           * The call stack.
  32.           * function and procedures names in the call stack (with
  33.             a little help from you).
  34.           * CPU registers.
  35.           * A disassembly of the instructions.
  36.           * Windows information.
  37.      
  38.      WinSight is a utility that gives you information about
  39.      window classes, windows, and messages while an application
  40.      is running.  You can use it to study how any application
  41.      creates classes and windows, and to see how windows send and
  42.      receive messages.
  43.  
  44. Q.   "Why does my screen get scrambled when I run Turbo Debugger
  45.      for Windows?"
  46.  
  47. A.   The Turbo Debugger video DLL you are using is probably
  48.      incompatible with your Windows graphics driver.  Download
  49.      TDSVGA.ZIP from library 2, and try one of the different
  50.      video DLLs.
  51.  
  52. Q.   "I have a rather large application, and it does not seem to
  53.      work correctly in Turbo Debugger for Windows or Turbo
  54.      Profiler for Windows.  What's the problem?"
  55.  
  56. A.   Turbo Debugger for Windows and Turbo Profiler for Windows do
  57.      have limitations in the size of the files and number of
  58.      symbols they can handle.  If you find you are encountering
  59.      this problem, the best solution is to modularize your code
  60.      into several discreet objects that can be individually
  61.      debugged.
  62.  
  63. Q.   "I just installed Borland C++ 4.0, and I have TPW 1.5 or BP
  64.       7.0.  Why am I having problems getting the Pascal Turbo
  65.       Debugger for Windows to work correctly?"
  66.  
  67. A.   There are three main things to check on here:
  68.  
  69.         1. Make sure \BP\BIN (or \TPW\BIN) is in your PATH
  70.            statement before \BC4\BIN.
  71.         2. Make sure you are loading the version of TDDEBUG.386
  72.            in the [386Enh] section of SYSTEM.INI) that comes with
  73.            Pascal.
  74.         3. Rename the TDW.INI file that came with BC4, so that
  75.            Pascal will create its own new INI file.
  76.  
  77.      Also, you may wish to download TI1037 from library 2.  This
  78.      has some good information on TDW.
  79.  
  80.